package com.jt.service;

import com.jt.pojo.Role;

import java.util.List;

/**
 * @author 刘昱江
 * 时间 2021/3/3
 */
public interface RoleService {
    List<Role> findRoleRightsList();
    Role findRoleRightsListByRoleId(Integer roleId);
    Role deleteRoleRights(Integer roleId, Integer rightsId, Integer level);

    List<Integer> findRightsIdByOrderId(Integer roleId);

    void saveRights(Integer roleId, Integer[] rightsIds);

    List<Role> findRoleList();
}
